package com.hhwy.framework.persistent.entity;

import java.io.Serializable;


/**
 * <b>类 名 称：</b>DProperty 实体属性信息<br/>
 * <b>类 描 述：</b><br/>
 * <b>创 建 人：</b>lihuiming<br/>
 * <b>修 改 人：</b>Administrator<br/>
 * <b>修改时间：</b>2014年8月4日 上午8:51:23<br/>
 * <b>修改备注：</b><br/>
 * @version 1.0.0<br/>
 */
public class DProperty implements Serializable {

	private static final long serialVersionUID = -2664517820955774496L;

	private String iceId;
	Object  value;
	private String name;
	private String aliasName;
	private boolean pk;
	private String dataType;
	private long length;
	private long precision;
	private String defaultValue;
	private boolean nullable;
	private String geometryType;
	private String desc;
	private boolean isFile;
	private String dict;
	private String dateFormat;

	public DProperty(String propertyName, String aliasName, boolean pk,
			String dataType, long length, long precision, String defaultValue,
			boolean nullable, String geometryType, String desc,   boolean isFile , String dict, String dateFormat) {
		this.name = propertyName;
		this.pk = pk;
		this.dataType = dataType;
		this.length = length;
		this.precision = precision;
		this.defaultValue = defaultValue;
		this.nullable = nullable;
		this.aliasName = aliasName;
		this.geometryType = geometryType;
		this.desc = desc;
		this.isFile = isFile;
		this.dict = dict;
		this.dateFormat = dateFormat;
	}


	@Override
	public String toString() {
		return "DProperty [iceId=" + iceId + ", value=" + value + ", name="
				+ name + ", aliasName=" + aliasName + ", pk=" + pk
				+ ", dataType=" + dataType + ", length=" + length
				+ ", precision=" + precision + ", defaultValue=" + defaultValue
				+ ", nullable=" + nullable + ", geometryType=" + geometryType
				+ ", desc=" + desc + ", isFile=" + isFile + ", dict=" + dict
				+ "]";
	}


	public String getDateFormat() {
		return dateFormat;
	}


	public void setDateFormat(String dateFormat) {
		this.dateFormat = dateFormat;
	}


	public String getIceId() {
		return iceId;
	}

	public Object getValue() {
		return value;
	}

	public String getGeometryType() {
		return geometryType;
	}

	public String getDesc() {
		return desc;
	}
	
	public boolean isFile(){
		return isFile;
	}



	public String getDict() {
		return dict;
	}


	public void setDict(String dict) {
		this.dict = dict;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getAliasName() {
		return aliasName;
	}


	public void setAliasName(String aliasName) {
		this.aliasName = aliasName;
	}


	public String getDataType() {
		return dataType;
	}


	public void setDataType(String dataType) {
		this.dataType = dataType;
	}


	public long getLength() {
		return length;
	}


	public void setLength(long length) {
		this.length = length;
	}


	public long getPrecision() {
		return precision;
	}


	public void setPrecision(long precision) {
		this.precision = precision;
	}


	public String getDefaultValue() {
		return defaultValue;
	}


	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}


	public boolean isNullable() {
		return nullable;
	}


	public void setNullable(boolean nullable) {
		this.nullable = nullable;
	}


	public void setValue(Object value) {
		this.value = value;
	}


	public void setDesc(String desc) {
		this.desc = desc;
	}


	public void setFile(boolean isFile) {
		this.isFile = isFile;
	}
}
